|
|
|
|
|
|
|
Learn about the different database tools available in Visual Basic |
|
|
|
|
|
|
|
|
Learn to use the Data View window |
|
|
|
|
|
|
|
|
Learn to use the Data Environment Designer |
|
|
|
|
|
|
|
|
Learn to use the Query Builder |
|
|
|
|
|
|
|
|
Learn to use the SQL Editor |
|
|
|
|
|
|
|
|
Learn to use the Visual Data Manager |
|
|
|
|
|
|
|
|
Sample Project File: \Chapter27\VisualTools.vbp |
|
|
|
|
|
|
|
|
Visual Database Tools Overview |
|
|
|
|
|
|
|
|
In the Microsoft Visual Basic Books Online, youll see references to the Microsoft Visual Database Tools. These are only a few different tools; however, they each have multiple parts to them, and sometimes in the documentation theyre called different things. Heres an overview of the different tools and how you can get to them: |
|
|
|
|
|
|
|
|
Data Environment Designer. This tool is used to create design-time Connection and Command objects that you can execute at runtime. It encapsulates all the typical connection information and the SQL you need to create runtime resultsets. |
|
|
|
|
|
|
|
|
Select Project, Add Data Environment to add the Data Environment Designer to your project. |
|
|
|
|
|
|
|
|
The Data View window. This tool is a view into your database. You can use it to view tables, stored procedures, views, and triggers. Several other tools are typically used from this window, including the Source Code Editor (also called the SQL Editor) and the Query Design Window. |
|
|
|
|
|
|
|
|
Select View, Data View Window to open up this tool. |
|
|
|
|
|
|
|
|
UserConnection Designer. This tool has been superceded by the Data Environment Designer. |
|
|
|
|
|
|
|
|
Visual Data Manager. This program, sometimes called VisData, is a program that allows you to manipulate a database. Its actually written in Visual Basic, and the source code comes with the examples in the \Samples directory with the Enterprise Edition of Visual Basic. |
|
|
|
|
|
|
|
|
Select this tool from the Add-Ins, Visual Data Manager menu item. |
|
|
|
|
|